package s18.ch21.ex1;

public class Truck extends Car {
	private static final long serialVersionUID = 1L;
	private Integer capacity;
	private String regNum;
	

	public Integer getCapacity() {
		return capacity;
	}

	public void setCapacity(Integer capacity) {
		this.capacity = capacity;
	}

	public String getRegNum() {
		return regNum;
	}

	public void setRegNum(String regNum) {
		this.regNum = regNum;
	}

}
